/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.kleintjes.charactercounter.conf;


import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.kleintjes.charactercounter.CharacterCounter;
import za.ac.cput.kleintjes.charactercounter.Impl.CharacterCounterImpl;

/**
 * @author Administrator
 */

@Configurable
public class CharacterCounterConfig 
{    
    @Bean(name = "count")
    public CharacterCounter countLetters() 
    {
        return new CharacterCounterImpl();
    }
}
